const { Notification } = require("electron/main");

const handleNotification = () => {
    if (Notification.isSupported()) {
        const params = {
            title: '测试标题',
            body: '测试正文'
        }
        const instance = new Notification(params)
        instance.show()
    }
}

module.exports = {
    handleNotification
}